package com.qf.dao;

import com.qf.pojo.SysUsers;
import org.apache.ibatis.annotations.Param;

import java.util.Set;

/**
 * @version v1.0.0
 * @Description:
 * @author: 姜红凯
 * @date: 2022.02.17
 * @since 1.0
 */
public interface UserDao {
    SysUsers findByUsername(String username);

    Set<String> queryRolesByUserId(@Param("userId") int userId);

    Set<String> queryPermsByUserId(@Param("userId") int userId);
}
